package com.itheima.client;

import com.itheima.entity.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient("tensquare-user")
public interface UserClient {
    @GetMapping("/user/{id}")
    public Result selectUser(@PathVariable("id") String id);
}
